package com.heimait.chouxianglei.demo;

public class sheep extends animal{
    public sheep() {
    }

    public sheep(String name, int age) {
        super(name, age);
    }

    @Override
    public void action() {
        System.out.println("山羊的行为是：吃草+喝水");
    }
}
